package com.ailight.smart.api.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "wifi")
@Data
public class Esp8266WifiConfig {
    //wifi名称
    private String ssid;
    //wifi密码
    private String password;
    // 默认加密方式
    private String encryption = "WPA2PSK";
}
